std::tmpfile

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cstdio>

FILE *tmpfile();

Opens a temporary file. The file will be closed when the program exits.

Contents

Parameters

(none)

Return value

the associated file stream or NULL if an error has occurred

Example

See also

tmpnam
returns an unique filename
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages